package com.yr.feiyu.web.controller;

import java.util.Arrays;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller(value="dfe")
public class UserController {

	@RequestMapping(value="/info")
	public String pageUser(){
		System.out.println("````````````````````````````````");
		return "index";
	}
	
	@RequestMapping(value="test")
	public String test(){
		String s = "dfefe";
		byte[] b = s.getBytes();
		System.out.println(Arrays.toString(b));
		return "forward:test2?x="+b;
	}
	
	@RequestMapping(value="test2")
	public String test2(byte[] x){
		System.out.println(Arrays.toString(x));
		return "xx";
	}
	
	public void dfe(String xxx){
		System.out.println(xxx);
	}
}
